/**
 * @autor my
 * 2017/8/22.
 */
public class  ComparePerson extends Compare {

    @Override
    public boolean comparebigger(Person a, Person b) {
        if (a.getAge()>b.getAge()){
            return true;
        }
        else {
            return false;
        }
    }
}
